Distributions of Gas and Galaxies From Galaxy Clusters to Larger Scales