Two ways to find a missing side
Method 1, scale factor. Find k from one pair of matching sides you know. Multiply (or divide) the other sides by k.
Method 2, proportion. Write two equal ratios with the unknown in one of them, then solve:
x/12 = 5/4, so x = 12 × 5 ÷ 4 = 15
Both methods give the same answer. Keep the ratios in the same order, for example new ÷ original in both, or the answer will be wrong.
The perimeter of a similar polygon is also multiplied by k, because every side is.