We are given the objective function \( Z = px + qy \) and two points where \( Z \) is maximized: \( (6, 18) \) and \( (0, 30) \). We need to find the relationship between \( p \) and \( q \).
Substitute the coordinates of the points into the objective function:
1. At point \( (6, 18) \):
\[
Z = p(6) + q(18) \quad \Rightarrow \quad Z = 6p + 18q
\]
2. At point \( (0, 30) \):
\[
Z = p(0) + q(30) \quad \Rightarrow \quad Z = 30q
\]
Since both points give the same value of \( Z \), we equate the two expressions:
\[
6p + 18q = 30q
\]
Simplifying the equation:
\[
6p = 12q
\]
\[
p = 2q
\]
Substitute \( p = 2q \) into the inequalities for further analysis, or simply solve the relationship between \( p \) and \( q \) using the constraints and the points given. This yields the solution \( p = 12 \) and \( q = 15 \).
Thus, the correct relationship is \( p = 12 \) and \( q = 15 \).