This can be solved using a proportion:
35/5 = 42/x
Cross multiply and solve:
35x= 210
x=6
It will take Scotty 6 hours to earn $42
7.8m questions
10.5m answers