The Prandtl integrodifferential equation and the contact problem for a piecewise homogeneous plate