Thomas is a graduate student who can afford only two varieties of food: canned beans and ramen noodles. If Thomas buys only one type of good he can afford either 100 packs of ramen noodles or 20 cans of beans. If the 10th pack of ramen yields Thomas a marginal utility of 20, what must be the marginal utility of the 6th can of beans for this to be the utility maximizing choice?

I need a graph as well Please!

Please explain each and every step.