The matrix equation represents a system of equations.

A matrix with 2 rows and 2 columns, where row 1 is 3 and 10 and row 2 is 1 and 3, is multiplied by matrix with 2 rows and 1 column, where row 1 is x and row 2 is y, equals a matrix with 2 rows and 1 column, where row 1 is 6 and row 2 is 1.

Solve for x and y using matrices. Show or explain all necessary steps.