Using an ultrasonic sensor to control motor to move in the forward and reverse direction

i really hope someone understands me