When a pair of figure is similar, it means the lengths have a scale factor. So we have to find what times 8 gives 16, which is the length if the bigger rectangle. 8×2=16, so we have to use the scale factor, which is 2, to multiply by the other length of the rectangle. 2×2=4, so x=4.
Next question is basically like the first one, but you have to divide instead. 12÷4=3, and so 8×3=24, so y=24. 18÷3=6, so x=6. Last one, 6÷4= 1.5. 8÷1.5=5.3 and 7÷1.5=4.6, so x=4.6 and y=5.3