Hello!
Let me help you.
As I understand, you need to write an equation that relates
. This problem will be solved using equations. The problem states:
Nick bought t candies and divided them equally between his y friends and me. Each of us got 7 candies.
From this statement, we know that:
t: Number of candies Nick bought.
y: Number of friends.
Since I am included in this problem, the number of people involved here can be expressed as:
![y+1](https://img.qammunity.org/2020/formulas/mathematics/college/yq65tlbhx9xzcu2ugbwbsenbkuqt4p742t.png)
Since each of us got 7 candies, then it is true that:
![(t)/(y+1)=7 \\ \\ t=7(y+1)](https://img.qammunity.org/2020/formulas/mathematics/high-school/laubqs1y50pecd5hsh6xl15uet3w6wfoy2.png)
So t (number of candies) is a function of y(number of friends).