Reduce Wobbling - IR sensors

would it help if i mention digitalWrite(lmotorf,HIGH*0.5)

No, that won't work at all. digitalWrite() takes only HIGH (1) or LOW (0).

Use PWM pins and the analogWrite() function to reduce motor speed.