Which of the following equations has a solution of -7?

A.-x + 3 = -4
B. 4x - 23 =5
C. -3x - 8= -29
D. 5x + 11 = -24

To find the solution to an equation, we need to isolate the variable on one side of the equation.

A. -x + 3 = -4
Adding x and subtracting 3 from both sides:
-x = -7
Dividing both sides by -1:
x = 7
Since the value of x is 7, equation A does not have a solution of -7.

B. 4x - 23 = 5
Adding 23 to both sides:
4x = 28
Dividing both sides by 4:
x = 7
Since the value of x is 7, equation B does not have a solution of -7.

C. -3x - 8 = -29
Adding 8 to both sides:
-3x = -21
Dividing both sides by -3:
x = 7
Since the value of x is 7, equation C does not have a solution of -7.

D. 5x + 11 = -24
Subtracting 11 from both sides:
5x = -35
Dividing both sides by 5:
x = -7
Since the value of x is -7, equation D has a solution of -7.

Therefore, the equation that has a solution of -7 is equation D: 5x + 11 = -24.