[1 1 1|7]

[1-1-1|1]
[1-1-]|3]

fix your typo and visit

http://www.gregthatcher.com/Mathematics/GaussJordan.aspx

for all the details