Algebra within probability statements

53 Views Asked by At

I have the solution to my problem, but I don't understand how they went from one step to the next, I've circled the part I don't get. Can someone explain this to me, or direct me where I can find the answer. My book doesn't cover this typo of question and I'm not sure where to find the information. I'd appreciate any help you can provide.

enter image description here