they both look fine to me. you dont really have any fold equity to 5bet in #2, and reraising was not a bad move really but I kinda agree with freechus especially since in this context he might start calling or 4betting you with AQ/AK etc.
I don't really no what a good pushing range would've been there, but imagine at least JJ+,AK would be.