3ms+6mp=306,30 lei 3s+6p=306,30 s=(306,30-6p)/3=3(102,1-2p)/3
s=102,1-2p
7ms+12mp=682,10 lei 7s+12 p=682,10
7*(102,1-2p)+12p=682,10
714,7-14p+12p=682,10
-2p=682,10-714,7
p=32,6:2 p=16,3
s=102,1-2p=102,1-2*16,3=102,1-32,6=69,5
s=69,5
2s+1p=2*69,5+16,3=139+16,3=155,3 lei