The slope of the line y = 5x is 5.
set f' (x) = ae^(ax) = 5
e^(ax) = 5/a
ax = ln(5/a)
x = ln(5/a)/a
So the line passes through the point (ln(5/a)/a, 5/a), has a slope of 5 AND must cross the origin (or any other point on the line y=5x). Continue from here.