Each small box can hold 20 books and each large box can hold 30 books. A total of 9 boxes were sent which can hold 240 altogether. Solve the system of equations in order to determine the number of boxes sent, X, and the number of larger boxes sent,y.