B.38 because if 5 of the 18 are nickels which equal 5 you have 13 coins left and you have 25 cents. Now the rest are pennies that equal one cent so you just add 13 to 25 and you get 38 cents
The angles need to be congruent for the two triangles to be similar.
Hope this helps :)
I think it is 8,4 let me now if it is right