find the max and min values of your function on the given lines (you should probably graph the last two functions on a pair of axis to see where and what you want to test). secondly, find the local maximums and minimums (see post #3 here). the largest value of the function out of all the values you found is the absolute max, the smallest value of the function out of all the values you found is the absolute min