Okay so since you know 3 quarters is five millimeters high, and you know you need thirty quarters it’s not too hard.
Since 3 multiplied by 10 is 30, all you need to do is multiply 5 by ten to see how high it would be!
Since 5 x 10 = 50, your stack of 30 quarters will be 50 mm high!
Hope this helps!