Three possibilities come to mind for the main part (lacking the line equation).
1) Add a weighting column to your data table, set to 1 in the middle area and 0 elsewhere. Then use GB and assign the new variable to the Freq role.
2) Split your Y column into two columns, Y1 and Y2, with Y1 missing in the middle area and Y2 missing elsewhere. Now put both Y1 and Y2 into the Y role in GB. Add a Line of Fit, Right-click in graph > Line Of Fit > Y > Y1 to turn off Y1 for the Line of Fit.
3) Mark the rows for the outer points as excluded (but not hidden) and use Fit Y by X. Use Group By to get the overlay effect there.
Only the third option readily gives you an equation for the fit, though Graph Builder will show it in the graph for JMP 11 due out in September.