Answer:
Amy can purchase up to 14 lunches until her mother receives the notification. When she has the 15th lunch, the notification will be sent.
Explanation:
The balance Amy has in her lunch account is a function of the number of lunches she has consumed.
The initial balance is $50 and it decreases by $3 for every lunch Amy has. Thus, the function that models the balance in her lunch account is:

Where x is the number of lunches.
Her mother receives a notification when the balance goes at $5 or lower, thus the condition that triggers the notification is:

Or, equivalently:

Subtracting 50:


Multiplying by -1 (and flipping the sign):

Solving:


Amy can purchase up to 14 lunches until her mother receives the notification. When she has the 15th lunch, the notification will be sent.