SpaceX Interview Question

making a controller to control torque for a satellite in one axis