Linear algebra: Show that a set of vector is the basis of a vector space

this is my first time using this forum so I apologise in advance for any mistake.

How can I show that a set G composed of 3 vectors is a basis for a vector space S defined previously as a set S = {(x,y,z,x-3y+2z)) | x, y, z in R}?