The answer is: x = 9
Here's how I got my answer:
Step 1: Simplify the brackets. Which leaves us with
![4(x+3)-x+1=40](https://img.qammunity.org/2019/formulas/mathematics/middle-school/rq5q5piajyrwmuua3qeb0hh9dadbuozdz0.png)
Step 2: Expand it. Which leaves us with
![4x+12-x+1=40](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ssa5nmubatppf286hfqpl32accfdadl7ep.png)
Step 3: Simplify
to
. Which leaves us with
![3x+13=40](https://img.qammunity.org/2019/formulas/mathematics/middle-school/nkssrwcnnlzepe4shuvc1vebpkpet587z0.png)
Step 4: Subtract 13 from both sides. Which leaves us with
![3x=40-13](https://img.qammunity.org/2019/formulas/mathematics/middle-school/eyrum97rwvgwpxqso18tyq9dqb1aomdhtf.png)
Step 5: Simplify
to 27. Which leaves us with
![3x = 27](https://img.qammunity.org/2019/formulas/mathematics/middle-school/mr33ptib0b1st84jxgt6vadzxydbv71arb.png)
Step 6: Divide both sides by 3, leaving us with our answer, x = 9.