X=1 or x=8 see photo for steps and please mark as brainliest!
I think the equation is y=-2x+1
The event that either M1 or M2 fails has probability

by the addition rule. Failure events are independent, so

so that

Denote this probability by
. Then
follows a geometric distribution with this parameter
and has density

The expectation is
.
Divide the number of guest that came by the number of guests invited: 104/125=.832 or 83%. 83% of the invited guests were there :)