I have no idea how to do any of that.
My best shot would be at the flush draw question.
If somebody has a FD, they have 9 outs. There are 46 unseen cards, so they have a 37:9 shot of making their draw, which is 4.1:1. So I have to bet just over a quarter of my stack to stop him getting the implied odds to call?
That could be a pile of shit but it's my best shot.