Let the first number be x and the second number be y

 

As per the first condition 3x +5y =54

 

As per the second condition x-y =2.

 

Multiply the 2nd Equation  by 5 and add it to the 1st Equation. It would give 8x =64 , that is x=8.  Consequently y= 6

 

Hence the First Number is 8 and the Second number is 6

 

                                                               ***