The year names are not important. Just the life expectancies.
LIFE EXPTCTANCIES
MALE 48 75
FEMALE 51 80
If y for males
and x for females
Points are (51,48) and (80,75).
You now have two points as (x,y). Use the two points to find equation and finish in slope-intercept form.