
so I spent a surprising amount of time trying to solve something as trivial looking as that picture ^^, and while I got there in the end, I was wondering if there is a way to solve such simultaneous equations as painlessly as possible. Please do not suggest trial and error
The three first equations are purely additive (i.e. only involve additions/subtractions of the unknows, possibly with a coefficient), so that the most efficient method is Gaussian elimination (lookup this term).
In your case, adding the first equation to the second and to the third will make the unkown $f$ disappear. This is a standard step of Gaussian elimination; but here, by chance, it also makes a second unknow disappear.
The new second equation gives $-2s=6$ and the new third $-2o=-10$.
Hence $s=-3$, $o=5$ and finally $f=7$.