[tex]\begin{gathered} \text{The fact that this man only works for at most 6 hours implies that } \\ \text{the domain of the function is 0 }\leq x\leq6 \\ \text{And because of the information given we have that for x hours of work, we must pay} \\ y=30x+50 \\ so\text{ its range go between 0 and 230 ( if you replace x=6 you get 230)} \end{gathered}[/tex]