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) = 323 = 38 = 24.
when x = 5, f(x) = 353 = 3125 = 375.
so this means the functions range is {24, 375}
hope this helped you out