Call A, B, C, D for each resource respectively Lumber, Clay, Iron and Crop.
According to the code on the parchment we have the equation: 1. D+ C X D =55 2. A + D + B =12 3. B + C - A =9 => B - A = 9 -C 4. C - B + A =11 => B - A = C - 11