According to the statementx and y are varying directly, this can be understood by the following equation:
[tex]y=kx[/tex]to find the value of k, the constant of proportionality, we use the given information y=45 and x=40:
[tex]\begin{gathered} 45=k\cdot40 \\ \frac{45}{40}=k \\ k=\frac{9}{8} \end{gathered}[/tex]the equation that relates x and y is:
[tex]y=\frac{9}{8}x[/tex]