Make the curve y=ax³+bx²+cx+d have a critical point at (0,-2) and also be a tangent to the line 3x+y+3=0 at (-1,0).

Make the curve y=ax³+bx²+cx+d have a critical point at (0,-2) and also be a tangent to the line 3x+y+3=0 at (-1,0).
Ans nya po is y=x³+3x²-2. Salamat po