Use additional fields as extra recipients of emails

I have added two additional fields as email addresses.

It is vital that the appointment confirmations and reminders go to these people too.

Can you tell me which line of appointments.php I should change? I'm not a PHP programmer, but I am a developer and I am happy to make the change if I'm given a clue.