Do it 1/2 In. FIP x 7/8 In. BC Nut x 12 In. L Slip-Joint x Ballcock Toilet Connector

(Image  of 8)