In the diagram, â–łABC ~ â–łDEF. What is AC?
The image is of two similar right triangles ABC and DEF with right angles at B and E respectively. First one smaller in size and its base is 3. Base, altitude and hypotenuse of second one are 6, 8 and 10 respectively.

A. 4
B. 7.5
C. 5
D. 3