Which of the following correctly compares UV rays and x-rays?

X-rays have the same wavelength as UV rays.
UV rays have the same energy as X-rays.
X-rays have a higher frequency.
UV rays have lower energy.