ok there are same type of info with different numbers for both cases.
so if we focus on the changes in the ratios of each data:
120V / 240V = 1 / 2
1.25A / 15A = 1 / 12
8hr / 45min = 8 * 60 / 45 = 32 / 3
so the product of the change ratios for each value times the first energy value gives us the value for the second example:
(1 / 2) * (1 / 12) * (32 / 3) * 2.7kWh = 1.2 kWh