For the first one, you should use the definition of a perfect bound that is given on page 97 and this can be plugged in directly to show the equality holds.
For the second one, you will need to show that the equality is not possible for the given length (of 15) to correct the number of errors (3). So you will have to evaluate the formula for these parameters and show that it does not meet the Hamming bound.