x dimes; (x+3) nickels.
Write the total money equation
    10x + 5(x+3) = 360  cents.
Simplify and find x
    10x + 5x + 15 = 360
       15x        = 360 - 15 = 345
         x                   = 345/15 = 23.
ANSWER.  23 dimes and 23+3 = 26 nickels.
CHECK.  23*10 + 26*5 = 360  cents,  in total.   ! correct !