You would first create equations to represent the problem. You would then solve for a variable (I chose to solve for y). I subtracted each equation from each other which helped me isolate y, which equaled 15. I then substituted y for 15 which allowed me to isolate x, which gave me 24.