The rear derailleur and chain looks knackered, is that terminal?
only for those parts specifically, get new replacements Cassette & chain go in the bin together,
handle post looks like someone bodged away the Qr lever assembly..
so fold size is increased, since bars are not low enough, then.