Completed Square problem