Hello, thank you for taking the time to post your question!
The underlying equation that you want to use here is that
Z = (x – mean) / standard deviation
Plugging in the values that we know gives
-0.5 = (42 – mean) / 8
Then we want to solve for the value of the “mean” algebraically
-0.5(8) = 42 – mean
-4 = 42 – mean
Mean = 46
I hope that helps get you moving in the right direction! Feel free to reach out if you have any additional questions beyond that :)