The hypotenuse of a right triangle is 20 cm. The sum of lengths of the legs is 28 cm. Determine the length of the two legs.
a) 7 cm and 24 cm
b) 10 cm and 18 cm
c) 14 cm and 14 cm
d) 16 cm and 12 cm