Please help u get A LOT OF POINTS pleaseeeeee

First, you need to draw the triangles and label their side lengths. I don't think it matters what each triangle looks like or which side length goes where. The perimeter of a triangle is all of the side lengths added together. For the given triangles, that looks like this:
(x-2)+(x)+(3x+1)=p (perimeter)
(2x-5)+(x+4)+(6x-7)=p
First equation: x-2+x+3x+1=p
Second equation: 2x+5+x+4+6x-7=p
If you are in geometry or trigonometry, you might need to use the Pythagorean Theorem or Law of Cosines to helps you solve for the actual length of each side. If this is the case or if there's anything else you need help with, let me know and I'd be happy to help, but if not, I hope this helps you with this problem! :)