1) P1 = 2 AM + 2 x 2
P2 = 2 ( 15 - AM ) + ( 5 - 2 ) x 2
si P1 = P2 :
2AM + 4 = 2( 15 - AM ) + 6
2AM + 4 = 30 - 2AM + 6
2AM + 2AM = 30 + 6 - 4
4AM = 32
AM = 32 / 4 = 8
2) A1 = 2 x AM
A2 = ( 15 - AM ) x ( 5 - 2 )
Si A1 = A2
2AM = 3( 15 - AM )
2AM = 45 - 3AM
2AM + 3AM = 45
5AM = 45
AM = 45 / 5 = 9