The question says

The interferer

is ON with probability .25 and OFF with probability .75.

The average transmit power is 10 mW,

And solution says

0.75P1 + 0.25P2 = 10

and then he gives the answer

P1= 12.25 mW

P2=3.25mW

How he calculated P1 and P2