The domain is {2,5} which the set containing the numbers 2 and 5. I'm assuming that the function is f(x) = 3x3. So...
when x = 2, f(x) = 3*23 = 3*8 = 24.
when x = 5, f(x) = 3*53 = 3*125 = 375.
so this means the functions range is {24, 375}
hope this helped you out