If we consider the rope to be taut, we can have a good approximation of a side view of the tent as follows:
If you consider the central triangle to be the tent, and the big black line the rope, we have the case of a right triangle, and we can use Pythagoras' theorem to solve it as follows:
making an approximation as it follows: