How do you receive a check that is paying for a Retainer invoice and a regular invoice?

How do you receive a check that is paying for a Retainer invoice and a regular invoice?

Client has a RETAINER invoice for $2 and a REGULAR invoice for $1.
Sends a check for $3
How do i receive this? 

Thank you,

Bob