Create Problem 10.R