let c be the wage for one craftsman
let a be the wage for one apprentice
Then you'll get 2 equations:
16c + 5a = 740
9c + 30a = 740
Multiply the 1rst equation by 6 and subtract the 2nd equation. You'll get:
87c = 3700. Thus c = 42.53 and a = 11.91
The results are rounded to 2 decimals.