How do I bias an AC signal for sampling?
You need both to raise the mean voltage to 2.5V, and to attenuate the 10Vp-p input to 5Vp-p.

Assuming both your 5V supply and your AC source are low impedance sources, you can combine both functions in the same circuit: 







simulate this circuit &ndash; Schematic created using CircuitLab