Programming for Arduino Uno VS Latte Panda with Arduino Leonardo

I'll post the sketch below. Any ideas as to what needs changing?

Lots of stuff.

int Direction1 = 2; int Speed1 = 3; int Direction2 = 4; int Speed2 = 5;  //Motor Speed Control

It's ONE statement per line.

void setup() {pinMode(2, OUTPUT); pinMode(4, OUTPUT); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT);
  Serial.begin(57600);
}

If you can't be bothered writing readable code, I can't be bothered reading that crap.