Quantos quadrados tem na figura? (resultado algébrico)

Information: Quantos quadrados tem na figura? (resultado algébrico)