You need (5 m)2 = 25 m2 of groundsheet for the tent of base length 5 m irrespective of its height. The amount of groundsheet in square meters is the base area of the tent. The base area of a tent is BA = a2, where a is the base length.
Read more