I suggest you concentrate on the version using SoftwareSerial because it allows you to print debug messages to the Arduino Serial Monitor.
Make a version of your program without any motor stuff and just print the Bluetooth values to the Serial Monitor so you can confirm that the communication is working.
...R
Serial Input Basics - simple reliable ways to receive data.