Solve the equation.

5 1 -4
2 -3 -5 X= 5
7 2 -6 2
5

The numbers are supposed to be matrices.
I'm not sure how I would solve the problem

You have AX=B with all matrices.

X = A-1B

So, if you know how to find inverses, you're home free.

wolframalpha.com can do inverses, or solve matrix equations. Notationally, your matrices would be

{{5,1,-4},{2,-3,-5},{7,2,-6}}
{{x},{y},{z}}
{{5},{2},{5}}

at wolfram alpha, you can enter

inverse {{5,1,-4},{2,-3,-5},{7,2,-6}}

to see the solution to your problem, just enter

solve {{5,1,-4},{2,-3,-5},{7,2,-6}} *{{x},{y},{z}}= {{5},{2},{5}}