the length of the two altitudes of a parallelogram are 4cm,6cm and the perimeter of the parallelogram is 40cm.find the lengths of the sides of the parallelogram