The Perimeter Is 36 — What Does X Have to Be?
You've probably seen a problem like this before: "The perimeter is 36. What does x have to be?" It shows up on worksheets, in textbooks, and sometimes on tests where you're expected to just know what to do. That's why if you're feeling stuck, here's the thing — these problems follow a pattern once you see it. And once you get it, you'll be able to solve pretty much any perimeter problem with a variable in it.
So let's break it down.
What Are These Problems Actually Asking?
When a problem says "the perimeter is 36, what does x have to be?" it's giving you two pieces of information:
- The total distance around a shape equals 36 (that's the perimeter)
- At least one side of that shape is represented by the letter x
Your job is to set up an equation using the perimeter formula for that shape, then solve for x. That's it. The tricky part is just figuring out which formula to use and how to plug everything in.
Most of the time, these problems involve rectangles. Why? Because rectangles are the go-to shape for teaching algebra — they have four sides, opposite sides are equal, and the perimeter formula is straightforward: P = 2(length + width) or P = 2l + 2w Which is the point..
People argue about this. Here's where I land on it.
But What If It's Not a Rectangle?
Sometimes the shape changes. You might see a triangle, a square, or even a irregular polygon. Here's a quick rundown of the perimeter formulas you'd use:
- Square: P = 4s (all four sides are equal, so if one side is x, then 4x = 36)
- Triangle: P = side + side + side (if one side is x, you need the other two sides to form your equation)
- Regular polygon: P = number of sides × side length
The same logic applies regardless of shape: write the perimeter formula, substitute what you know (including x), set it equal to 36, and solve.
Why Does This Matter?
Here's the real talk: these problems aren't just about geometry. They're about translating words into math — taking a sentence or a diagram and turning it into an equation you can actually solve. That's a skill you'll use in algebra, physics, engineering, and honestly in everyday problem-solving too.
If you can look at a shape with an x in it and say "okay, the perimeter is all the sides added together, so I need to write that as an equation," you've learned something that goes way beyond one worksheet.
And honestly, this is the part most guides get wrong. Even so, they just give you the answer. But understanding why you're setting up the equation a certain way — that's what actually sticks.
How to Solve "Perimeter Is 36, Find X" Problems
Let's walk through the most common scenarios step by step That's the part that actually makes a difference..
The Rectangle Where One Side Is X
This is the classic setup. You might see something like:
"The perimeter of a rectangle is 36 cm. The length is x + 5 and the width is x. What is x?
Here's how you solve it:
Step 1: Write the perimeter formula for a rectangle. P = 2(length + width)
Step 2: Plug in what you know. 36 = 2[(x + 5) + x]
Step 3: Simplify inside the brackets. 36 = 2[2x + 5]
Step 4: Distribute the 2. 36 = 4x + 10
Step 5: Solve for x. Subtract 10 from both sides: 26 = 4x Divide by 4: x = 6.5
So in this case, x = 6.5 Still holds up..
The Rectangle Where Both Sides Include X
Sometimes both the length and the width have x in them, like this:
"The perimeter of a rectangle is 36. The length is x + 3 and the width is x - 1. Find x.
Same process, just a little more algebra:
Step 1: Set up the equation. 36 = 2[(x + 3) + (x - 1)]
Step 2: Simplify. 36 = 2[2x + 2] 36 = 4x + 4
Step 3: Solve. 32 = 4x x = 8
See how it works? You just keep simplifying until x is by itself.
The Square Problem
Square problems are even faster because all four sides are equal:
"The perimeter of a square is 36. What is x if each side is x?"
You'd write: 4x = 36, so x = 9 Simple, but easy to overlook..
That's the whole thing. One step Most people skip this — try not to..
The Triangle Problem
Triangles can be a bit trickier because you need to know what the other two sides equal. For example:
"An isosceles triangle has a perimeter of 36. Two equal sides are each x, and the base is 10. Find x.
Here's what you'd do:
x + x + 10 = 36 2x + 10 = 36 2x = 26 x = 13
The key with triangles is just making sure you're adding all three sides correctly.
Common Mistakes People Make
Let me save you some frustration. Here are the errors I see most often:
Forgetting to multiply by 2. Some students write P = l + w instead of P = 2l + 2w for a rectangle. That one mistake gives you the wrong answer every single time. Double-check whether you're using the simplified version (2(l + w)) or the expanded version (2l + 2w) — they're the same mathematically, but you have to use one or the other, not mix them up That's the part that actually makes a difference. Simple as that..
Not simplifying before distributing. It's tempting to jump ahead, but take your time simplifying inside the brackets first. You'll make fewer arithmetic errors.
Ignoring negative answers. Sometimes x turns out to be negative. That's okay! A length can't be negative in a real-world sense, but in algebra, a negative x is a valid solution to the equation. Check whether your problem expects a positive answer — if it does, you may have set up the equation wrong Most people skip this — try not to. Took long enough..
Forgetting to include all sides. This happens a lot with shapes that have more than four sides, or with irregular figures. Count every side. Every. Single. One Less friction, more output..
Practical Tips That Actually Help
Draw the shape. Still, even if you're good at math, sketching a quick rectangle or triangle and labeling the sides with what you know makes a huge difference. It turns an abstract problem into something you can see.
Write out the full equation before you solve. On the flip side, don't try to do it in your head. Write "36 = ..." first, then fill in the rest. It sounds simple, but it prevents so many careless mistakes That's the part that actually makes a difference..
Check your answer by plugging it back in. Plus, if x = 6. 5) = 2(18) = 36. 5 + 6.Which means 5 in that first example, then the length is 6. It works. Add them: 2(11.5 + 5 = 11.Think about it: 5. 5 and the width is 6.This habit will save you on tests.
FAQ
What if the shape isn't a rectangle? Use the perimeter formula for whatever shape you're given. For any polygon, the perimeter is just the sum of all the side lengths. If it's a regular shape (like a regular pentagon), you can multiply one side by the number of sides.
Can x be negative? Mathematically, yes. But if you're dealing with a real shape where x represents a length, a negative answer usually means something went wrong with your equation setup. Go back and check your work.
What if there are two different letters? Some problems give you x and y. In that case, you need more information — like the relationship between x and y ("x is twice as long as y") — to solve. If you only have one equation and two unknowns, you can't find a single answer.
How do I know which formula to use? Count the sides. Four sides = rectangle. Three = triangle. Five = pentagon. For regular polygons, perimeter = number of sides × side length. For irregular shapes, just add up every side Simple, but easy to overlook..
The Bottom Line
When you see "the perimeter is 36, what does x have to be?" — don't panic. On the flip side, figure out what shape you're working with, write the perimeter formula, plug in your expressions (including the x), set it equal to 36, and solve. That's the whole process.
It gets easier the more you do it. Really. After a few practice problems, you'll start recognizing the pattern instantly, and you'll be able to solve these in your sleep.