Complete the definition of the given function as to make it A) Even and B) Odd

--> X^2-2X for X greater than or equal to zero

F(x)=(

--> ???????? for X less than zero

I think I got the A) part right by plugging negative x i got X^2+2X

however i don't seem to understand how to make it odd. If anyone can help me out with B) that would be greatly appreciated.

If possible please confirm if my answer for A is correct.