input is time, this is your x-values
output is the total cost, this is your y-values.Â
in the question above "this mapping diagram shows...." so i'm not sure if there more to the question or what the question actually is, but if you have to create a mapping, you will create a list of x values for days and y values for corresponding total cost.
Day 1Â Â Â Â cost $40Â Â Â (1,40)Â Â Â
Day 2Â Â Â Â cost $80Â Â Â (2, 80)Â Â Â ($40 per day for 2 days = 40 (2) =Â $80
Day 3Â Â Â Â cost $120Â (3, 120)Â ($40 per day for 3 days = 40(3) = $120
hope this answers your question. :-)Â