A local gym charges a one-time registration fee and a monthly membership fee. The table below shows the total cost (y) for a certain number of months (x).
| Months (x) | Total Cost (y) |
|------------|----------------|
| 2 | $130 |
| 4 | $210 |
| 6 | $290 |
Which of the following linear equations models the total cost for x months of membership?
-
A
y = 40x + 50
-
B
y = 50x + 30
-
C
y = 80x - 30
-
D
y = 45x + 40