Ind the values of b such that the function has the given maximum or minimum value

find the values of b such that the function has the given maximum or minimum value.
image
Maximum value: 25