The statement is wrong. It is not an "if and only if" condition. Take , the two first factors are not perfect squares but the expression is a perfect square.

Anyway, assuming it is an "if" condition (if the three factors are perfect square then the expression is a perfect square) it is easy to show by using the property that the product of two or more squares is a square.