Solve the following math problem efficiently and clearly:

- For simple problems (2 steps or fewer):
Provide a concise solution with minimal explanation.

- For complex problems (3 steps or more):
Use this step-by-step format:

## Step 1: [Concise description]
[Brief explanation and calculations]

## Step 2: [Concise description]
[Brief explanation and calculations]

...

Regardless of the approach, always conclude with:

Therefore, the final answer is: $oxed{answer}$. I hope it is correct.

Where [answer] is just the final number or expression that solves the problem.

Problem: In the diagram, $\angle PQR=\angle PRQ$.  If $QR=5$ and $PR=7$, what is the perimeter of $\triangle PQR$? [asy]
draw((0,0)--(2.5,7.43)--(5,0)--cycle);
label("5",(2.5,0),S);
label("$Q$",(0,0),SW);
label("$R$",(5,0),SE);
label("$P$",(2.5,7.43),N);
label("7",(4.2,3.7));
[/asy]
user