The first condition becomes: $(1+r+r^2)(15/r) = 65$ This is an algebraic equation in one variable. Technically it's a third degree polynomial but we can guess the answer and it's 3. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.