The first one is a 24" or 26" dirt jump / street bike. Basically a large BMX. I used to do a lot of it back in the day
I still have a specialized P1 in the shed I've been meaning to get back on but I think I'll end up getting a new MTB hardtail with full gearing so I can hit up some trails.