Iam not sure that iam allowed to write here but I know the answer:)
“When the first overhaul is completed at the end of year 5 at a cost of, say, $6 million, then this cost is capitalised and depreciated to the date of the next overhaul:”
This is the condition of the task. It is not a calculation.