Possible Solutions for Problem 3 stated