In the graph, we can see the following:
We know that a person will devote 28 years working and eating from the word problem. Also, the number of years working will exceed the number of years eating by 20. Then, we have:
Therefore, a person will be spent 24 years working and 4 years eating food.