John B. answered 11/28/22
Honors Calculus Tutor with 5+ years of tutoring experience
Linear functions are very easy to use here - the average of a linear function on an interval is its value at the midpoint of the interval. So all we have to do here is pick a linear function that has a value of 1 at x = 4.
Something like y = x / 4 would work, or alternately y = x - 3.