The first link is your idler/deflection pulley. The second one is for your tensioner...which I presume means the hydraulic one.
Idler has that funny pin sticking out of it...it is available at Autozone as a Dayco/duralast pulley...and is made by INA, which is the OE maker for us. Call Autozone and get its price on all three pulleys...might save you $ in part and in shipping.
Debut Radio Show Tuesdays from 1-2-ish p.m. EST on Hamiltonradio.net The Mechanical Animals
call in for car repair help! 609-503-4058
A recent set--NSFW audio: https://youtu.be/_dcxcZfD6dg
Mangofy your E46!