Analysis of a multilayered plate containing a cuboidal inclusion with eigenstrains