A Joy valve gear for steam engine rotating the wheel in the direction of the arrow. The lever F changes…