find the sides of triangle such that area is maximum.

all sides infinite!

There are no constraints, so there is no limit to the length of the sides.