How to solve frame and machine problems (statics)