The cubic expansivity of mercury is 1.8 x 10-4K-1 and the linear expansivity of glass…