So with this crazy market...
Yeah the market is crazy.
Not currently being in your situation and not knowing firsthand your situation it's easy for me sitting on the other side of the internet to type a bunch of crap...so having said that here my off the top of my head thoughts in no particular order
1. Back prior to buying your 2019 you could have posed the very same question. Do you buy a new 2019 which involves a $400/month payment or instead buy a 2008 Fill-in-the-blank with high miles and very little or no monthly payment. You bought a new 2019.
2. Your 2019 based on your current miles of 31K has about 6½ years of engine / powertrain warranty left (plus 2 years remaining of the 5 year warranty covered items). The 2011 with no warranty and 184K miles might throw a rod on the way home from picking it up or it may run smooth for another 100K - it's a crapshoot.
3. The market is crazy. Is $5,854 the off-the-lot price??? Even if it is that is still crazy (well compared to a couple or so years ago). 184K miles!! Yikes! Your 2019 only has 31K. Your 2019 only has 31K.
4. If you bought the 2011 and immediately decided to take the bus, walk, bicycle, stick out your thumb everyday and left the 2011 undriven for the next 6½ years, it would still have 84K more miles on it than the 2019 if you were to continue to drive your 2019.
5. Even with a current $400/month payment you spent additional money to modify your 2019 (tint, stereo, and speakers). Assuming the 2011 hasn't already been modded to your liking are you going to spend the same amount on the 2011 or do without??? The "overall price" creeps up. All though maybe offset by cheaper insurance.
6. To me the Gen 2 is an overall improvement versus the Gen 1 but those improvements may not matter much to you.
7. To me - again not in your shoes - if you want to overall save money then stick with the 2019, keep up with maintenance (oil & filter, pcv, trans fluid, etc, etc, etc), recall work, and repairs (unless those out-of-warranty repairs start becoming too frequent and costly) and drive that car until commercial-grade duct tape will no longer hold it together.