The ninth graders are hosting the next school dance. They would like to make at least $500 profit from selling tickets. They estimate that at most 300 students will attend the dance. They will earn 3 for each ticket purchased in advance and $4 for each ticket purchased at the door. Write a system or inequalities to represent this situation.