Science teacher explains how density works