Answer:
To solve for x in the equation:
x+4(x+5)=40
we first simplify the left side by distributing the 4:
x + 4x + 20 = 40
Combining like terms, we get:
5x + 20 = 40
Subtracting 20 from both sides, we get:
5x = 20
Dividing both sides by 5, we get:
x = 4
Therefore, the solution to the equation is x = 4.