The power P is defined as the energy E per unit of time t:

In our problem, the power is P=25 W and the total time is t=8.0h, so we can calculate the total energy used during this time:

The energy costs 8€ per each kwh, so we can write the following proportion:

where x is the price corresponding to 0.2 kWh. Solving the proportion we find x:

€