the perimeter of a triangle is 25 inches. The first side is 6 inches longer than the second side. The third side is 5 inches shorter than twice the second side. Find the length of each side

P=s1+s2+s3

P=s2-6 + s2 + s3
P=s2-6 + s2 + (2s2-5)
can you take it from here?

yes, thank you soooo much!!!

To find the length of each side, we'll first set up equations based on the information given.

Let's assume:
- The second side of the triangle has a length of x inches.
- The first side is 6 inches longer than the second side, so it will be x + 6 inches.
- The third side is 5 inches shorter than twice the second side, so it will be 2x - 5 inches.

According to the given information, the perimeter of the triangle is 25 inches. The perimeter of a triangle is the sum of the lengths of all three sides. So, we can write the equation:

x + (x + 6) + (2x - 5) = 25

Now, let's solve the equation to find the value of x, which represents the length of the second side.

Combining like terms:
4x + 1 = 25

Subtracting 1 from both sides:
4x = 24

Dividing both sides by 4:
x = 6

The second side of the triangle has a length of x = 6 inches.

Now we can calculate the length of the other sides:

First side: x + 6 = 6 + 6 = 12 inches
Third side: 2x - 5 = 2*6 - 5 = 7 inches

Therefore, the lengths of the sides of the triangle are:
First side: 12 inches
Second side: 6 inches
Third side: 7 inches