Answer: Option B
Explanation:
$60 per 1 night
$150 per 3 nights
If this is a linear c(n) function, que can obtain the slope by:
s = (c2 - c1)/(n2 - n1)
where c2 = c(n2) and c1 = c(n1)
in this case y is the price and n is the number of nights.
s = ($150 - $60)/(3 - 1) = $90/2 = $45
Then c(n) = $45*c + b
we know that c(1) = $60 = $45*1 + b
b = $60 - $45 = $15
then the linear equation is:
c(n) = $45*n + $15