Assume that the number of apples is x and the number of oranges is y.
For the first given, we know that each apple costs $0.24 and each orange costs $0.8, therefore:
amount paid for apples = 0.24x and amount paid for oranges = 0.8y
we also know that the total amount spent is $12, therefore the first equation is as follows:
0.24x + 0.8y = 12
For the second given, we know that the total number of fruit bought is 20, therefore, the second equation is:
x + y = 20
You can easily graph these two functions and find a possible combination from the graph (the correct combination would be the intersection between the two lines).
(1,1) because x + 2y <4
=1 + 2(1)
= 3 which is less than 4
Let's use 8 days as the maximum time we are going to be renting the car.
Putting that into the equation means, 500$ for Harry's Rentals and Smilin' Sam's at $600.
Therefore, Happy Harry's Rentals are better for the 7th and 8th days while Smiling Sam's are the better from day's 1 to 6.
Work:
500$ is a fixed value so it doesn't change (constant)
200 + 50x
x = days
8 days = 8x
200 + 50(8)
200 + 400 = 600