Question: simplifying an expression so it is a sum of squares?

With Maple15, how do I get this

sigma^2*(1+(lambda[0]+lambda[1]-2)^2+(1-lambda[0])^2)

from

with(Statistics):
R := 'RandomVariable(Normal(0, sigma))'; a := [`$`('R', 5)]
Variance((1-lambda[0])*a[3]+(lambda[0]+lambda[1]-2)*a[4]+a[5]);
simplify(%, size); collect(%, {sigma, lambda[0], lambda[1]})

In general, how do I simplify an expression when it can be stated as a sum of squares? I suspect I am missing a general simplification technique. Thanks.

Please Wait...