linear equations in matlab

Consider a point body of mass hung from a ceiling on two ropes which form the angles α and β to the horizontal. Tension forces and in the ropes are then determined by the solution of the following system of linear equations

-T1 cos 30 + T2 cos 45 = 0

T1 sin 30+ T2 sin 45 = mg

where g=9.80665ms-2 is the acceleration due to gravity

Write a *script *M-file which computes the tension forces T1and T2when m=20kg and alpha=30 and beta=45 degrees

ive been told to represent this system in matrix form, but im not sure how to.....

can anyone help?

thanks