Tangent of an acute angle of a right triangle is 1⁄2. Area of the triangle is 25 m2. Find legs of this triangle.