Simply take the second column of your X1 matrix and invert the values, that is it should be $X1(:,2) = [1,1/2,1/3,\ldots,1/7]^T$
Then determine which line gives you a better fit between the two.
It should be noted, this type of regression is sometimes called "Linear Regression With Basis Functions." This concept can add a tremendous amount of flexibility to linear regression and you can get all kinds of neat fits. If you have interest, a simple search of this will give you many interesting articles/presentations/lecture notes on the topic.