The type of energy transformation is occuring in both the diagrams is chemical to mechanical energy.
In the first image, the fruit has chemical energy which gives mechanical energy to the football player.
In the second image, gasoline has chemical energy which gives mechanical energy to the car.
Thus, the given option (B) is correct.