The total cost includes the setup cost + per hour cost.
Let, x represents the time and y represents the total cost.
[tex]y=200+75x[/tex] .... (1)
Let Y represent the cost for B's DJ service.
[tex]y=125x[/tex] .... (2)
a. Graphing both the equations give the intersection point (solution) as (4,500)
It means for 4 hours, the total cost of both the DJ's is same at $500.
b. Substitution Method.
Plug y = 125x in equation (1)
[tex]125x= 200+75x[/tex]
[tex]125x-75x=200[/tex]
[tex]50x=200[/tex]
[tex]x=4[/tex]
[tex]y=125\times 4 =500[/tex]
Hence, the total cost for 4 hours in both the service is $500.
c. Addition method.
Multiply equation (2) by -1
[tex]-y = -125x[/tex].... Equation (3).
Add euation (1) and equation (3)
[tex]y+(-y) = 200+75x-125x[/tex]
[tex]0=200-50x[/tex]
[tex]50x=200, x=4[/tex]
[tex]y=500[/tex]
Solution: For x = 4, y = 500 ( same as the previous two methods)
For x = 2, equation (1)
[tex]y=200+(75\times 2) = 350[/tex]
For x = 2, equation (2)
[tex]y= 125\times 2 =250[/tex]
Hence, for 2 hours, DJ B would be a better choice since it would charge $250.
For x = 6 hours, equation (1)
[tex]y=200+(75\times 6) =650[/tex]
For x= 6, equation (2)
[tex]y=125\times 6=750[/tex]
For 6 hours, DJ A would be better option since it charges $650 for 6 hours.