The girl's basketball team scored 57 points and made 25 shots. Each shot was worth 2 or 3 points each.

Write a linear system.

x+y=25

2x+3y=57

-2x-2y=-50
2x+3y=57

y=7
x=18