Translate the following function (which is part of the body of a Monitor) using P and V operations to implement the ‘wait’ and ‘signal’ operations and the mutual exclusion as required by the definition of the Hoare monitor as discussed in chapter 4.