Answer:
The function is 
When he sold 30 cellphones, he earned $1550.
Step-by-step explanation:
Equation of a line:
The equation of a line has the following format:

In which m is the slope(how much y changes when x changes by 1), and b is the y-intercept, that is, the value of w when x = 0.
Base salary of $350 each month and earns an additional $40 for each cellphone he sells.
If he sells 0 cellphones, he earns $350, so
.
For each cellphone he sells, he earns $40, so 
The function is:
Tomas' earnings for a month where he sold 30 cellphones.
This is y when
. So

When he sold 30 cellphones, he earned $1550.