Angular momentem and areal velocity are constant as earth orbits the sun
At perigee rp2ωp = ra2ωaat apogee.
If ‘a’ is the semi-major axis of earth’s orbit, then rp = a (1 - e) and
ra = a(l + e)
Let ω be angular speed which is geometric mean of ωp and ωa and corresponds to mean solar day,
If ω corresponds to 1° per day (mean angular speed), then ωp = 1.034o per day and ωa = 0.967 per day. Since 361° = 14hrs: mean solar day, we get 361.034o which corresponds to 24 hrs 8.14'' (8.1'' longer) and 360.967° corresponds to 23 hrs 59 min 52'' (7.9'' smaller).
This does not explain the actual variation of the length of the day during the year.