The first step is to measure the book, using the MEASUREpHASE. First, the length is measured…