Hello ElmorshedyDr.
Suppose a varying p.d. with instantaneous value V_P is connected across the primary coil. Per coulomb passing through the primary, V_P joules of work will be done. An amount I_P\ R_P will be done heating the primary coil. But work will also be done per coulomb against back emfs \varepsilon_{1, 1}, the emf induced in the primary due to the rate of change of primary current and \varepsilon_{1, 2}, the emf induced in the primary due to the rate of change of secondary current.
So, using the principle of conservation of energy (per coulomb flowing),
V_P\ \ =\ \varepsilon_{1, 1} + \varepsilon_{1, 2}\ +\ I_P\ R_P.
I'm afraid that signs vary according to the sign convention used.
Now here's the punch-line… Usually R_P is small enough for us to forget I_P\ R_P, so
V_P\ \ =\ \varepsilon_{1, 1} + \varepsilon_{1, 2}\ .