Solve the system of equations.

3x+3y+6z=3
3x+2y+6z=7
4x+4y+7z=4