Hello, thank you for taking the time to post your question!
f(g(3)) = f(5(3) – 1) = f(14) = 3(14) = 42
g(f(4)) = g(12) = 5(12) – 1 = 59
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)