For this answer I am assuming heads up.
1) Seems fine. Keep in mind as you set that you are probably drawing to 2 Queens, not 3, since a Q
will almost always go into the flush draw. 3-flush OOP is ~55% and ~63% IP if totally live. If you don't like hovering around 60% you could also consider setting the 8-9-10 combo in back, giving you multiple ways to support a middle-row KK or AA and still catch some straight royalties. You lose the flush ev but it really depends if you like ~60%. Once you set for the flush there is no plan-changing.
ActionDJ or Hautari might have more to add on direct and indirect outs if you set up the 8910.
Q-high heads up certainly can be a winner, IMO that is dependent on how experienced your opponent is.
2) It's a raggy-looking hand at first glance, but the positive is that the K-J and 2-4 can be grouped in mostly separate drawing ranges so two-pairs and straights for both are possible without getting in each others' ways. You could have a decision to make with an ace.
2-flush, unless you're playing pineapple, hovers just around 30% to get there (less if OOP, more if IP and completely live). So, yes, K2 is easy to get into trouble with if you don't run the 70%-unlikely path or spike a K (which is under 50% regardless of position).
I might set 8/24/KJ to keep two-pair and straight draws live, maybe set any Q that comes in front (unless it completes a back row draw) and hope for QQ or 88. I think this is one of those hands you probably should be trying to lose the minimum.