Heres something lol.
P=I^2*R
(since P=VI , V=IR)
P=Et , E is Energy , P is power
therefore E=P/t = I^2*R/t
And Resistance is Proportional to L(As length of wire increases , Resistance Increases).
Let us say this greater resistance in the longer wire in comparison(or can u say...