5x+7x=180
First, add the xs together.
5x+7x=12x
12x=180
Then, divide by 12 on both sides.
12x/12=180/12
x=15
In conclusion, x=15.