Yes. I have them printed and it is the problem with the logic. Kindly check the below and let me know if there is a better way to implement this.
Steer = Steer - 1500;
int m0Value = (Speed - Steer - 1500) * 8 / 10;
int m1Value = (Speed + Steer - 1500) * 8 / 10;