Answer:
50 - (x * d)
Step-by-step explanation:
In this function we are only given one value, therefore, we will have two unknown variables in our function. One variable will be the number of days which will be represented by d. The other variable will be the amount of money he spends each day (x) which would be the same. Therefore, the function would simply be multiplying the two variables together and subtracting that from $50
50 - (x * d)