Could someone help me with this problem. Don't seem to understand. Write the augmented matrix of the system:

x-y+2z=4
3y+z=5
3x-y=4

take a look what they did on this site.

Remember you have 3 variables, so you have to insert zeros for the last two equations

http://www.mathwords.com/a/augmented_matrix.htm

To write the augmented matrix of a system of linear equations, you need to arrange the coefficients of the variables and the constants on the left-hand side of the equations into a matrix. The augmented matrix will have one row for each equation, with the coefficients of the variables appearing in the columns, followed by the constants.

For the given system:
x - y + 2z = 4
3y + z = 5
3x - y = 4

The coefficients and constants can be organized as follows:

| 1 -1 2 | 4 |
| 0 3 1 | 5 |
| 3 -1 0 | 4 |

The matrix on the left side represents the coefficients of the variables (x, y, z), while the rightmost column represents the constants of the equations.