Answer:
Y varies directly with x.
This can be represented below as
![\begin{gathered} y\propto x \\ y=kx \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6d4u6j1uti0vfqmd3ea5tvi29rnz2ljk6s.png)
Substitute the value of y=24 and x=6 to find the value of k
![\begin{gathered} y=kx \\ 24=6k \\ divide\text{ both sides by 6} \\ (6k)/(6)=(24)/(6) \\ k=4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/k88ps2gw6ekc6bj6gxt1sy9x9w9ij740b9.png)
Substitute k=4 to get the equation connecting y and x
![\begin{gathered} y=kx \\ y=4x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/jwudo930jml4zxjbs1zoux73awhuis1ngs.png)
Substitute the value of x=8 to get the value of y
![\begin{gathered} y=4x \\ y=4*8 \\ y=32 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vu77eps5btqyi7z2ghfx5stbk4mk6l8q2z.png)
Hence,
The value of y when x= 8 is
![\Rightarrow y=32](https://img.qammunity.org/2023/formulas/mathematics/college/oeq4hjftvhsecl5w948xbff6s2j8wwjyi5.png)