Add the teeth difference at the back (presumably 36-11=25) to the teeth difference at the front (about 12 to 14 on a SRAM double is it?) getting 27 to 39. Find the shortest caged mech that'll do 39 teeth and check it's good for a 36t largest sprocket. Buy. Fit. Fettle.