Mr. Smith has a weekly income of M = $24. Initially the prices of X and Y are both $2/unit and Mr. Smith buys 6 units each of X and Y each week, a bundle on indifference curve I0. Then, ceteris paribus, the price of X increases to $4/unit, with the result that Mr. Smith now buys 3 units of X and 6 units of Y per week, which is a bundle on indifference curve I1. It is also the case that, if Mr. Smith's income were $34 a week after the price increase (it isn't, but if it were...) he would buy 4 units of X and 9 units of Y, which is a bundle on indifference curve I0 ($34 is the minimum income required for Mr. Smith to attain his initial indifference curve after the price increase).
How much of the change in Mr. Smith's consumption of X, as a result of the increase in the price of X, is due to the substitution effect? How much of the change in Mr. Smith's consumption of X is due to the income effect?