Looking at the table, the number of birdhouses sold x and the earnings y have a proportional relationship:
[tex]y=kx[/tex]In order to find the value of k, let's use the ordered pair (5, 40), that is, for 5 birdhouses sold, the earning is $40:
[tex]\begin{gathered} 40=k\cdot5\\ \\ k=\frac{40}{5}=8 \end{gathered}[/tex]Now, to find the missing value, let's use y = 320 and calculate the value of x:
[tex]\begin{gathered} \frac{320}{x}=8\\ \\ x=\frac{320}{8}\\ \\ x=40 \end{gathered}[/tex]The missing value is 40, therefore the correct option is C.