We move all terms to the left:
7x-19-(x+5)=0
We get rid of parentheses
7x-x-5-19=0
We add all the numbers together, and all the variables
6x-24=0
We move all terms containing x to the left, all other terms to the right
6x=24
x=24/6
x=4