Answer: 9 year (approx)
Explanation:
Since, In the Investment R,
The initial amount = $500
Which is increasing by $45 per year,
Thus, the total amount after x years in investment R = 500 + 45 x
In the investment Q,
The initial amount = $400
Which is increasing by 10% per year,
Thus, the total amount after x years in investment Q =

Since, the intersection point of the equations y =500+45x and y = 400(1.1)^x
are (-6.178, 221.992) and (8.069, 863.12)
But we can not take a negative number as a number of year,
Thus, the year in which both investment will equal is 8.069
After that the investment Q will be exceed the investment R,
⇒ The first year at which the investment Q will be exceed the investment R is approx 9th year.