Use your mouse to move the centre and then change the angle of rotation. Find a centre and an angle of rotation that will rotate the yellow triangle into the rectangle to complete it.