Find length of AC? Help please

Answer:
36.5 = AC
Step-by-step explanation:
Since this is a right triangle, we can use trig functions
cos theta = adj side/ hypotenuse
cos A = AC / AB
cos 51 = AC /58
58 cos 51 = AC
36.50058 = AC
Rounding to the nearest tenth
36.5 = AC