Answer:
![f(x)=-x/3](https://img.qammunity.org/2020/formulas/mathematics/high-school/wr9gtzucsgv6kgckr4517by6h8uilsmue2.png)
Explanation
Given f is a direct variation equation (Direct variation is when one variable is equal to a constant times another variable, with no additions or subtractions alongside).
Now by the above condition let the constant be "c".Then
![f(x)=cx](https://img.qammunity.org/2020/formulas/mathematics/high-school/8mucrv2eefjt1sdpkqqs06f4khjgg5ne8p.png)
also given that
when
![x=6](https://img.qammunity.org/2020/formulas/mathematics/middle-school/iytjkob8c453cdntkigo6vyjyk3yzlat9o.png)
on substituting the above values,
![-2=c(6)](https://img.qammunity.org/2020/formulas/mathematics/high-school/kehr4yog07ju6el9pg1k2ay1beq2oadlmm.png)
![c=-2/6](https://img.qammunity.org/2020/formulas/mathematics/high-school/on2tapi46lvd6qvg96kd761tazv7hwcji2.png)
![c=-1/3](https://img.qammunity.org/2020/formulas/mathematics/high-school/qg4iymiacs5zc83e1rvo9jl6c0ape6dmaz.png)
Therefore our equation is
![f(x)=-x/3](https://img.qammunity.org/2020/formulas/mathematics/high-school/wr9gtzucsgv6kgckr4517by6h8uilsmue2.png)