What is the length and width of the black plastic base and the diameter and height for each of those parts?
7mm x 8mm and 10mm high
10.5mm x 10.5mm and 5mm high
The closest outline for a 100uf 50V cap has the outline of (8.30mm x 8.30mm) x 10.2mm height. At this time, I don’t see anything instock at 50v. See link https://www.digikey.com/short/15cbvnwd. Could you possibly use 35V instead?
The second part, Kemet # FC0H104ZFTBR24 might work in place. Please review the datasheet.