use the image to answer the question Which function, r or s, is the inverse function for function q?

the function r because the graphs of q and r are symmetrical about the y-axis
The function r because the graphs of q and r are the symmetrical about the line y=x
the function s because the graphs of q and s are symmetrical about the line y=x
neither function

The function s because the graphs of q and s are symmetrical about the line y=x.

Based on the given information, the correct answer is:

The function s because the graphs of q and s are symmetrical about the line y=x.