Equations with variables. Please explain it to me.

Answer:
Equation: 10x-12=6x-6
X: 3/2 or .5
Perimeter of square and triangle are both 3.
Step-by-step explanation:
Square:
4(2.5x-3) {The four represents the amount of sides}=
10x-12
Triangle:
3(2x-2)=
6x-6
Since they have the same perimeter the equation is
10x-12=6x-6
10x-6x=12-6
4x=6
x=1.5
Square pt 2:
4(2.5(3/2)-3)=
4(3.75-3)=
4(0.75)=
3
Triangle pt 2:
3(2(3/2)-2)=
3(3-2)=
3(1)=
3