The largest and the shortest distance of the earth from the sun are r1​ and r2​. Its distance from the sun when it is at perpendicular to the major-axis of the orbit drawn from the sun is: