What is the solution to the equation?

-7(x-4)+8x=12+14