Álgebra linear Exemplos

Simplifique a Matriz Given (x+5)/(x-1) if x<=-3 4x+9 if x>-3 ; what is 2(g(3))+g(-4) ?
Eu não consigo resolver este problema.