Gopal borrows Rs. $\text{X}$ from Ankit at $8\%$ annual interest. He then adds Rs. $\text{Y}$ of his own money and lends Rs. $\text{X+Y}$ to Ishan at $10\%$ annual interest. At the end of the year, after returning Ankit's dues, the net interest retained by Gopal is the same as that accrued to Ankit. On the other hand, had Gopal Ient Rs. $\text{X+2Y}$ to Ishan at $10\%$, then the net interest retained by him would have increased by Rs. $150$. If all interests are compounded annually, then find the value of $\text{X+Y}$.