[Project] Make a kind of ABS-ESP for an electric car (scale model)

Hello everybody, i'm french, new to this forum and to Arduino
Sorry for my english, I'll try to make it understandable as possible

So, We got a project with friends for our shool class : we have an electric car (scale model), and our project is to create a kind of ABS-ESP (Anti-lock braking system + Electronic stability control)

Concretely, for a prototype, when the rear wheels are faster than the front wheels, we have to slow down the motor (the car is a propulsion)

We got :

1 Arduino Uno
1 electric engine with a continuously variable transmission (CVT)

many basics components (leds, (bipolar) transistors,....)

We will buy some sensors later (Hall effect sensor, to detect the wheels's speed)

We think that we have to use a Bipolar Transistor to change the engine's power with the CVT

So : Sensors -> Arduino -> B Transistor -> CVT -> engine

If the sensors detect that the Speed of RearWheels > FrontWheels ; the arduino sent the order to slow down the engine

But we dont know how to do that :frowning:

This is a project which make 1/4 of our academic qualification (Baccalauréat) :drooling_face:

Thanks in advance