Suppose that the price of Y is $40 and the price of X is $20…

Suppose that the price of Y is $40 and the price of X is $20.  Consumer income is $800.   At the optimal consumption bundle, what is the marginal rate of substitution?  Hint: use the fact that the indifference curve is tangent to the budget line at this consumption bundle.