first off, let's notice a couple of points on g(x), hmmm say (0 , 5) and (5 , 0) pretty much just the "x" and "y" intercepts, well, to get its equation all we need is two points on it, so let's use those two
now, let's find f(rx) keeping in mind that f(rx) is really g(x) in disguise
now as far as the other one goes hmmm well, is simply asking on what "k" is if the y-intercept is -10, however, the equation is already in slope-intercept form, so