First, let's find the eccentricity, e. Do not get this mixed up with the log e
The ratio of the perhelion to aphelion for the Sun and Earth is about 59/61.
The smallest distance is a-c and the largest is a+c.
Solving gives us
The smallest distance is
You can now find the ellipse equation which models this.