Step-by-step explanation:
using trig, tangent is equal to opposite over adjacent.
in this case, the angle is 45, opposite is 7, and adjacent is a.
thus tan 45° = 7/a
solve for a to get a = 7/tan 45° = 4.32