What’s “X”...damn algebra. /s
“X” is a chromosome. Being male, you got shortchanged and only got one. Women have all the luck.
Here ya go.
y=mx+b
y-b=mx
x=(y-b)/m