The perimeter of a shape is the sum of all of its side lengths. Therefore, the perimeter of the first triangle is and the perimeter of the second triangle is .
We are given that the perimeters of the triangles are equal, so equals . As an equation, that would be . Solving for , we get:
(Add to both sides of the equation to isolate )
(Divide both sides of the equation by to get rid of 's coefficient)