Line $AD$ through $A(25,0)$ and $D(0,50)$: $\frac{x}{25} + \frac{y}{50} = 1 \Rightarrow 2x + y = 50$. Line $EC$ through $E(40,0)$ and $C(0,20)$: $\frac{x}{40} + \frac{y}{20} = 1 \Rightarrow x + 2y = 40$. The origin lies in the feasible region, so the constraints are $2x + y \le 50$, $x + 2y \le 40$, $x \ge 0$, $y \ge 0$.
Answer (b)
Official answer key
$B$ is the intersection of $2x + y = 50$ and $x + 2y = 40$. Solving: $x = 20$, $y = 10$.
Final answer: (20, 10)
Answer (c)
Official answer key
Corner points: $O(0,0)$, $C(0,20)$, $B(20,10)$, $A(25,0)$. $Z = x + y$: at $O$, $Z = 0$; at $C$, $Z = 20$; at $B$, $Z = 30$; at $A$, $Z = 25$. The maximum value of $Z$ is $30$, at $B(20,10)$.