For this case we have the following equation:

We must clear the variable "n", for them we follow the steps below:
We multiply by
on both sides of the equation:

We apply distributive property on the left side of the equation:

Subtracting
from both sides of the equation:

Subtracting IR from both sides of the equation:

We take common factor n from the left side of the equation:

We divide between Ir-E on both sides of the equation:

Answer:
