Let the required polynomial be A.
∴ (x2 + 13x + 7) – A = 3x2 + 5x – 4
∴ A = (x2 + 13x + 7) – (3x2 + 5x – 4)
= x2 + 13x + 7 – 3x2 – 5x + 4
= x2 – 3x2 + 13x – 5x + 7+4
= -2x2 + 8x + 11
∴ – 2x2 + 8x + 11 must be subtracted from x2 + 13x + 7 to get 3x2 + 5x – 4.