How to sync motor speed???

Is there a better implementation of this????