You can put this solution on YOUR website! Hope this is what you needed:
Original problem
a = 2h(l + w)
a = (l * 2h + w * 2h)
a = (2hl + 2hw)
Solving
a = 2hl + 2hw
Solving for variable 'a'.
Move all terms containing a to the left, all other terms to the right.
Simplifying
a = 2hl + 2hw