How would I convert this glsl code into the material editor

vec2 uv = fragCoord.xy / iResolution.xy;
uv = uv * 2.0 - 1.0;
uv.x *= iResolution.x / iResolution.y;

I have this piece of code I am stuck on and I cant figure out how to separate x and y from the vec2

Also wondering what FragCoord translates to in the material editor, and is iResolution the same as screenResolution in engine?

Whole code Shader - Shadertoy BETA

uv = ScreenPosition

fragCoord = ScreenPosition * ScreenResolution