Isoperimetric Inequalities for the Nonhomogeneous Clamped Rod and Plate