HI! Did I do this right or was I supposed to combine 5x and 7x by adding them rather than subtracting on both sides ?

HI! Did I do this right or was I supposed to combine 5x and 7x by adding them rather than subtracting on both sides ? class=