How do you solve the triangle if it has legs with lengths of 18 and 28 and there is a 90 degree angle, X and Y are the other two angles?