rectangle solved