Bonjour pourriez vous me aidez s'il-vous-plaît pour mon exercice merci bonne soiree

Bonjour,
(3x)² -(x+2)²
x=-2
3*-2 = -6
-6² =36
-2+2 = 0
=> 36
x=1
3² = 9
(1+2)³ =3³ =27
9-27 = -18