Quotient and remainder of a polynomial when divided by x+2 are 2x-1 and 3 respectively. Find the polynomial.
Dividend=Divisor×Quotient+Remainder
Here, Polynomial = (x+2) × (2x-1) + 3 = 2x2+3x+1.