Which of the following equations has a solution of −7

A: 4x - 23 = 5

B: -x + 3 = -4

C: - 3x - 8 = -29

D: 5x + 11 = -24

To find which equation has a solution of -7, we can substitute -7 for each x in the given options and check which equation results in -7.

A: 4x - 23 = 5
Checking if -7 satisfies this equation: 4(-7) - 23 = -28 - 23 = -51 (not equal to 5)

B: -x + 3 = -4
Checking if -7 satisfies this equation: -(-7) + 3 = 7 + 3 = 10 (not equal to -4)

C: - 3x - 8 = -29
Checking if -7 satisfies this equation: -3(-7) - 8 = 21 - 8 = 13 (not equal to -29)

D: 5x + 11 = -24
Checking if -7 satisfies this equation: 5(-7) + 11 = -35 + 11 = -24 (equal to -24)

The equation 5x + 11 = -24 has a solution of -7. Therefore, the answer is option D.