Solve MinimumSquareEasy