Regression: how to interpret different linear relations?
What you are looking for is the Analysis of Covariance (ANCOVA) analysis, which is used to compare two or more regression lines by testing the effect of a categorical factor on a dependent variable (y-var) while controlling for the effect of a continuous co-variable (x-var).

Here is an example for carrying out the ANCOVA analysis using R.