A friend has asked me to fix her e-bike seat, and I have absolutely no idea how ...

@msbellows@c.im

A friend has asked me to fix her e-bike seat, and I have absolutely no idea how to start. The post just slides up and down freely. Why does it have two plastic cylinders between it and the bike frame? What is the accordion gasket thing that looks like it's had part torn off? Can I just ignore all that and crank down on the clamp at the top of the frame like I would on a regular bike?
c @ai6yr

EDIT: It almost looks like there used to be something metal around the top of the opening in the frame, but I'm not sure. The white innermost plastic sleeve can slide down past (inside) the opening. The black plastic sleeve seems to want to be where it is but is not locked in place either. There's no flange or stop on any of the pieces. Also, the black one is slathered in grease. Brand: Heybike.