My understanding is featureLayer is polygon feature layer and featureLayer2 is point feature layer. so when in query the 1st layer use query.where instead of circle
var query = new Query();
query.where= "1=1"; // or the condition of you polygon selection.
featureLayer.queryFeatures(query, selectInBuffer);
and on the result, combine all the polygons and get the 2nd layers.