Task: Text to Code
Input (English): select the row whose points 1 record of all rows is 2nd maximum . the team record of this row is eastwood hanley .
Output (English): eq { hop { nth_argmax { all_rows ; points 1 ; 2 } ; team } ; eastwood hanley }