Create a Python program to solve and derive equations for position analysis of a five-bar mechanism. The given values are as follows:
Link Lengths (inches):
LI-16 (ground link)
L2-5
L3-8
L4-10
LS-18
Angles (deg):
01 = 21
02 = 7, 22.47
03 unknown
04 = 27, 192, 327
05 unknown
Note: When several angles are given, use them in tandem.