The 7 m side is either one of the two equal sides, or it is the side that is different.
Case 1: 7 m is one of the equal sides. Then the two equal sides are 7 m and 7 m, which is 7+7=14 m. The third side is
25−14=11 m
Sides: 7 m, 7 m, 11 m. The two short sides together, 7+7=14 m, are longer than 11 m, so they meet: it is a triangle.
Case 2: 7 m is the different side. The two equal sides share the rest of the fence: 25−7=18 m, so each is
18÷2=9 m
Sides: 7 m, 9 m, 9 m. 7+9=16 m is longer than 9 m, so this is also a triangle.
The garden is either 7 m, 7 m, 11 m or 7 m, 9 m, 9 m.