# Diagonal across a tiled rectangle

**Geometry**Level 3

In the figure shown, we have a rectangular grid consisting of 4 vertical square tiles and 8 horizontal square tiles.

A red string is stretched across the grid diagonally as shown in the figure. We see that the number of tiles intersected by the string is 8

What would the number of tiles intersected by the string be if we had a rectangular grid composed of 18 vertical square tiles and 48 horizontal square tiles ?