I need help with a geometry problem

#1
[tex]\\ \tt\hookrightarrow 3x+5=1/2(2x+15+6x-37)[/tex]
[tex]\\ \tt\hookrightarrow 6x+10=8x-22[/tex]
[tex]\\ \tt\hookrightarrow 2x=32[/tex]
[tex]\\ \tt\hookrightarrow x=16[/tex]
#2
[tex]\\ \tt\hookrightarrow 7x+2+25x-14=180[/tex]
[tex]\\ \tt\hookrightarrow 32x-12=180[/tex]
[tex]\\ \tt\hookrightarrow 32x=192[/tex]
[tex]\\ \tt\hookrightarrow x=6[/tex]