The line which expresses the trend of two observed values is called a regression line. For example if the sample…