write and evaluate an expession to find the altitude that has 4039 feet

I think that there is a constraint that is missing because in this case as the problem is expressed the altitude of 4039 feet can be the shorter and the longer will be higher.