How to sync motor speed???

SuperMiguel:
Is there a better implementation of this????

Is this just a general 'please make my code better' or is there some specific problem you want help with?