`Q=3x^2(x+5)-5.(x+2x^2)-3x^3-5x^2+5(x+1)`
`Q=3x^3+15x^2-5x-10x^2-3x^3-5x^2+5x+5`
`Q=(3x^3-3x^3)+(15x^2-10x^2-5x^2)-(5x-5x)+5`
`Q=5`
`Q = 3x^3 + 15x^2 - 5x - 10x^2 - 3x^3 - 5x^2 + 5x + 5`
`= (3x^3 - 3x^3) + (15x^2 - 10x^2 - 5x^2) + (5x-5x) + 5`
`= 5`.
Q=3x2(x+5)-5.(x+2x2)-3x3-5x2+5(x+1)
=3x3+15x2-5x-10x2-3x3-5x2+5x+5
=3x3-3x3+15x2-10x2-5x2-5x+5x+5
=5