AMC 10A 2019 Problem 10

A rectangular floor that is 10 feet wide and 17 feet long is tiled with 170 one-foot square tiles. A bug walks from one corner to the opposite corner in a straight line. Including the first and last tile, how many tiles does the bug visit?

Answer Choices
A. 17
B. 25
C. 26
D. 27
E. 28