The angle of elevation of an object as seen by an observer is the angle between the horizontal and the line from the object to the observer's eye (the line of sight). since you did give the horizontal distance between amy and the hoop, so let us represent it as x.
so the angle of elevation = tan^-1 ( (8 - 5.9) / x)
angle elevation = tan^-1 ( 2.1 / x )