I have a problem for Calculus II....I would greatly appreciate any help.

Suppose that a pyramid has a square base of side 6meters and an altitude of 10 meters. In addition, the density of the pyramid at a point x meters from the vertex is proportional to x (and is given in kg/m^3). In terms of the proportionality constant, what is the total mass of the pyramid?