Since the fun is defined in closed and bounded interval....therefore the extreme value of function can occur either on extreme points ie at -1 or 5 or it can occur at fund's stationary value ie at 3....so evaluate f(-1), f(5) (given) and f(3)....
Actually this function is non negative throughout its domain.....so u hv to evaluate values at each of these points,...that's y in the ques f(5) is given as it is too tedious to find f(5) in the exam.....