Answer:
D. There are 18
Explanation:
It is the only one where the first 3 coordinates add up. Another way to look at it is to label the input side x and the output side y.
I found the equation to solve it. For each house there are 2 windows. 9 houses gives you 18 windows.