Assuming that each marble can be picked with equal probability, we notice that there is a total of

marbles, of which 2 are red.
So, the probability of picking a red marble is

In fact, as in any other case of (finite) equidistribution, we used the formula

0% because there is no point before 40 on the line
By definition we have that the area of a regular octagon is:
A = 4.83L ^ 2
Where, L is the length of the octagon side.
the similarity ratio = the area ratio.
We have then:
similarity ratio = (50) / (18) = 25/9.
the ratio of the perimeters
A1 = 4.83L1 ^ 2
L1 ^ 2 = A1 / 4.83
L2 ^ 2 = A2 / 4.83
L1 ^ 2 / L2 ^ 2 = A1 / A2 = 25/9
L1 / L2 = 5/3
The perimeter is:
P1 = 8L1
P2 = 8L2
P1 / P2 = 8L1 / 8L2 = L1 / L2 = 5/3
answer:
similarity ratio:
25: 9
the ratio of the perimeters:
5: 3
You seem to want a ratio.
If that's the case:
18 in 1 ft
------- * --------- = 3/8 = 0.375
4 ft 12 in