Solve Problem 4 for all but 1 corner wide edge case