You want a pair 135 degree elbows. From the top it'll be a short length straight down, elbow, short length towards wall at 45 degrees, elbow, longer length straight down to drain.
They can be solvent welded but its not really needed if you have brackets on the longer length holding it to the wall.