Answer :

x=5! you would set the two equations equal and subtract from both sides until you were left with the answer