College

Select the correct answer.

Niall owes [tex]\$187[/tex] to his cousin. He hopes to earn some money by painting a house. He gets paid [tex]\$34[/tex] for every 2 hours he paints. Which equation of a line models [tex]y[/tex], the amount of money he will have after paying back his cousin, in terms of [tex]x[/tex], the number of hours he spends painting?

A. [tex]y = 34x - 187[/tex]
B. [tex]y = 17x + 187[/tex]
C. [tex]y = 34x + 187[/tex]
D. [tex]y = 17x - 187[/tex]