The length of one side is 7km.
The formula for a square is always (Length) x (Length) and that will never change. So now you know how to find area with length. How about the other way around ? You square root the value. 49 square rooted is 7, which is how I ended up with 7km.