We must of course get to screen height before the end of the TODA to avoid hitting anything nasty. But we must plan to do better than that.
The following definitions of the Take-Off Distance Required are taken from the CAP698 provided by the UK CAA for ATPL exam purposes
2.1.1. Field Length Requirements
a) When no stopway or clearway is available the take-off distance when multiplied by 1.25 must not exceed TORA.
b) When a stopway and/or clearway is available the take-off distance must:
i) not exceed TORA
ii) when multiplied by 1.3, not exceed ASDA
iii) when multiplied by 1.15, not exceed TODA
In this question we have the following distances available
TORA is 5000
ASDA is 5000 + 15000 = 65000
TODA = 5000 + 2000 = 7000
There is a stopway and a clearway so we apply para (b).
Applying requirement (b) (i) gives a distance required of 5000
Applying requirement (b) )ii) gives a distance required of 6500 / 1.3 = 5000
Applying requirement (b) (iii) gives a distance required of 7000 / 1.15 = 6086
The shortest of these distances required is 5000.
All of the above assumes a dry, flat paved surface of course.