Let ABCD and EFGH be two quadrilaterals such that ABCD ~ EFGH. If AB = 15 cm, EF = 18 cm and the perimeter of ABCD is 40 cm, find the perimeter of EFGH.​