Approach. Profit per trip is the linear function $\text{Profit}=3X+8Y-450$, so $E[\text{Profit}]=3E[X]+8E[Y]-450$ follows directly from the marginal means; the marginals themselves are row/column sums of the joint table, and the conditional expectation in (d) uses the row $Y{=}20$ renormalized to sum to 1.
(a) Expected profit. Summing $x\cdot p_X(x)$ and $y\cdot p_Y(y)$ (or equivalently $\sum_{x,y}xy$-weighted terms) over the joint table gives $E[X]=150.0$ and $E[Y]=28.5$ passengers. $$E[\text{Profit}]=3(150.0)+8(28.5)-450=450+228-450=\boxed{\$228}$$
(b) Marginal pmf of $X$ (sum each column). $$p_X(100)=0.34,\quad p_X(150)=0.32,\quad p_X(200)=0.34$$
(c) Marginal pmf of $Y$ (sum each row). $$p_Y(0)=0.05,\ p_Y(10)=0.18,\ p_Y(20)=0.15,\ p_Y(30)=0.27,\ p_Y(40)=0.19,\ p_Y(50)=0.16$$
(d) Expected profit given $Y=20$ booked. Renormalizing the $Y{=}20$ row ($0.03,0.06,0.06$, summing to $p_Y(20)=0.15$) gives the conditional pmf of $X$: $$p_{X\mid Y=20}(100,150,200)=(0.20,\ 0.40,\ 0.40)$$ $$E[X\mid Y=20]=100(0.20)+150(0.40)+200(0.40)=\boxed{160}$$ With $Y$ fixed at the known 20 priority bookings: $$E[\text{Profit}\mid Y=20]=3(160)+8(20)-450=480+160-450=\boxed{\$190}$$