A square has four even sides and the perimeter is equal to the sum of all of the sides.

So we can evaluate the equation for P and then solve for s.
-6x-7+8=19 and then add your like terms so it’s -6x+1=19 and then subtract one on both sides so it’s -6x=18 so x=-3
Let's solve for h.
h
p
=
p
3
+
4
p
2
−
2
Step 1: Divide both sides by p.
h
p
p
=
p
3
+
4
p
2
−
2
p
h
=
p
3
+
4
p
2
−
2
p
Answer:
h
=
p
3
+
4
p
2
−
2
p