I dont have that text with me, but straight line revenue recognition is usually used in a service based example and (to me) means simply recognising the revenue evenly over the period of the contract.
Of course, if you have milestones in the contract and can reliably measure your achievement of these, you could recognise revenue according to these stages of completion.
Sorry, cant help with the profit part of your Q as i dont have the example to read.