I find a interesting question of my PRMO mock and 2019 AMC 10A
The rectangular floor of a bathroom is covered with square tiles (all of the same size). A spider starts at one corner of the bathroom, and walks to the corner diagonally opposite. For example, the figure below shows a 6 × 8 bathroom, in which the spider touches 12 tiles on its path. (A spider doesn’t touch a tile if it just walks over the grout at the corner of a tile.) For an $m\times n$ bathroom, how many tiles does the spider touch on its walk?
My assumption is that number of tiles bugs walk through is $2* (\text{no. of columns})$ but I am unable to prove it.
Can anyone please help me with solution?



