Eviews:

Step 1: Choose "Generate" option to create "yistar" and "xistar"


Step 2: Choose "Estimate Equation" from "Quick" option, then the Equation Specification dialogue
            box will appear.

Step 3: In the dialogue Box, type dependent variable (Y) first, then the constant term ( C) and then
            the independent variables (Xs). Next by clicking OK.


 

Result: