solved rect1