I have a scatterplot X is just 30 given values. Y is 2*X + eps, where eps is a random figure. The Plot is Y vs X

I am asked to fit 2 lines

Y= ax +b by least squared method

and

X = cy +d

Similarly

I do not know which command to use on minitab. Is this just standard regression? if so how do I fit the X = cy +d line. is there any difference?

Do I just use the fitted line plot? and if so how do i plot X = cy +d on the same graph??

Thanks in advance! ( and sorry if this is very basic I am new to minitab)