5(2x+1)=3(x+4)-5
Multiply 3 by each term inside the parentheses.
5(2x+1)=(3x+12)-5
Subtract 5 from 12 to get 7.
5(2x+1)=3x+7
Multiply 5 by each term inside the parentheses.
(10x+5)=3x+7
Remove the parentheses around the expression 10x+5.
10x+5=3x+7
Since 3x contains the variable to solve for, move it to the left-hand side of the equation by subtracting 3x from both sides.
10x+5-3x=7
Since 10x and -3x are like terms, add -3x to 10x to get 7x.
7x+5=7
Since 5 does not contain the variable to solve for, move it to the right-hand side of the equation by subtracting 5 from both sides.
7x=-5+7
Add 7 to -5 to get 2.
7x=2
Divide each term in the equation by 7.
(7x)/(7)=(2)/(7)
Simplify the left-hand side of the equation by canceling the common terms.
x=(2)/(7)