What is the solution to the compound inequality 5x + 7 > −8 and 3x + 7 ≤ 19?

A. x ≤ −3 and x ≥ 4
B. −3 ≤ x < 4
C. x > −3 and x ≥ 4
D. −3 < x ≤ 4