I recall famous chef / restauranteur, possibly Gordon Ramsay, giving a bare minimum sale price of 4x the raw ingredient price for profitability. Assuming the $0.06 estimate, $1.20 would imply a price of at least $4.80, pretty close to the $5.00 price
But McDonalds has much smaller overheads than other restaurants because the food is largely prepared and the prep work that does need to be done has been engineered to be easy
3-5% is the average profit margin for a restaurant. Also, the profit for the franchise owner is not the same as the total profit. McDonalds as a corporation is charging the franchisee licensing fees (and often rent as well), which should also be considered part of the profit.