The correct response is:
light energy → electrical energy → heat energy
In this transformation, sunlight (light energy) is converted into electrical energy by the solar panels. Then, the electrical energy is used to power the oven, which converts this electrical energy into heat energy to bake the cookies.