As seen from the graph, the line passes through (0,0) and (1,6) so the equation of the line is given by:
Hence the equation of the line is y=6x where y is the number of carrots and x is the number of days.
To find carrots eaten in 7 days, substitute x=7 in the equation to get:
So the rabbit will eat 42 carrots.