SRAM GX1 comparability with double crankset
According to the chart, The GX long cage derailleur is good  for an 11-42 cassette (Yellow triangle) and a 2x11 crank set (Light blue triangle). Also according the chart, all 1x11's should already be long cage derailleurs, but you may want to check the bike before you buy to be sure.