Bonsoir pouvez vous m’aider et m’expliquer ce Dm ces exercices sur le périmètre et la factorisation merci d’avance bonne soirée

Bonsoir,
1)
x+1+5+x+1+5 = 2x +12
2)
x+x+x+x = 4x
3)
rectangle:
2*3 + 12 = 6+12= 18
carré :
4*3 = 12
4)
2x+12 = 4x
2x-4x = -12
-2x = -12
0 = 2x-12
5)
2x-12 = 2(x-6)
6)
2x-12 = 0
2x= 12
x = 12/2
x= 6