Answer
Please see the work below.
Work Step by Step
We know that if the glass and mercury had the same coefficient of volume expansion, then the level of mercury would not change because the cavity would expand by the same amount as the mercury. Thus the thermometer would not be useful.