Hello, I am newbie in Arduino and I try to make a robot commended by bluetooth

You still haven't fixed these:

x == 0;

x == 1;

== is a comparison, as written the code is asking "Does x equal 0?" and then doing nothing with the answer.
= is an assignment. "Make x have the value of 0", or "Make x have the value of 1".
Change them to x=0; and x=1;