The first equation is the definition of power which is, in words, the rate of energy conversion:
$$P \equiv \frac{dE}{dt}$$
Where it is understood that $E$ is the amount of energy converted. For example, in a mechanical system where gravitational potential energy is converted to mechanical kinetic energy and vica versa.
In electrical circuits, the power associated with any circuit element is simply the product of the voltage across and the current through:
$$P = VI$$
Check the units: the volt is joules per coulomb and the amp is coulombs per second so their product is joules per second or watts, the unit of power.
For a resistor, electrical energy is converted to thermal energy and via Ohm's Law
$$V_R = RI_R $$
we can write these formulas for the power associated with a resistor
$$P_R = \frac{V^2_R}{R} = RI^2_R $$
For a capacitor, the energy is converted to or from electric potential energy and, via the defining capacitor equation
$$I_C = C \frac{dV_C}{dt} $$
we can write these formulas for the power associated with a capacitor
$$P_C = CV_C\frac{dV_C}{dt} = \frac{I_C}{C}\int_{-\infty}^tI_C(\tau)\ d\tau$$
For an inductor, the energy is converted to or from magnetic energy and, via the defining inductor equation
$$V_L = L \frac{dI_L}{dt} $$
we can write these formulas for the power associated with an inductor
$$P_L = LI_L \frac{dI_L}{dt} = \frac{V_L}{L}\int_{-\infty}^tV_L(\tau)\ d\tau$$