

I tried the first two inputs and they worked. Then I tried to make x = -1 and the output was -3.0 when it’s supposed to be -9.0. I’m stuck please help.
Updates
+1 y
Sorry the picture was blurry so I will type out what I put in the console:
x = -1
x = float (x)
y = 3*x**2 - 2*x**2 + 3*x - 1
x = -1
x = float (x)
y = 3*x**2 - 2*x**2 + 3*x - 1
Girl's Behavior
Guy's Behavior
Flirting
Dating
Relationships
Fashion & Beauty
Health & Fitness
Marriage & Weddings
Shopping & Gifts
Technology & Internet
Break Up & Divorce
Education & Career
Entertainment & Arts
Family & Friends
Food & Beverage
Hobbies & Leisure
Other
Religion & Spirituality
Society & Politics
Sports
Travel
Trending & News