Answer:
[tex]x=40[/tex]
Step-by-step explanation:
[tex]x+78=3x-2\\\mathrm{Subtract\:}78\mathrm{\:from\:both\:sides}\\x+78-78=3x-2-78\\x=3x-80\\\mathrm{Subtract\:}3x\mathrm{\:from\:both\:sides}\\x-3x=3x-80-3x\\\\[/tex]
[tex]-2x=-80\\\frac{-2x}{-2}=\frac{-80}{-2}\\x=40[/tex]