okay,lets take, power as 'p', voltage as 'v', current as 'i', energy as 'E' & time as 't'-
power= potential difference(voltage) * current.
so, p= v*i. now, remember that E= p*t so, p= E/t. so, u get E= v*i*t or P=v*i.
so, the relation comes out to be- energy is equal to the product of voltage, current & time.
power is equal to the product of voltage & current.
energy is the product of power & time.