Use the variable 'x' to represent number of apps downloaded and the variable 'y' to represent earnings.

Answer:
[tex]x = 0.4y[/tex]
[tex]x \: \alpha \: y \\ x = ky \\ k = \frac{x}{y} = \frac{8}{20} = 0.4 \\ the \: relationship \: is : \\ x = 0.4y[/tex]