$1.$ How long have you talked to her?
- Have/ Has + S + V3?
$2.$ Would you mind if I put these books away?
- Would you mind if + S + V (bare) + O...?
$3.$ He has been given a lot of money by her.
- S + have/ has + been + V (Pii) + (by O).
$4.$ They asked him if he lived near his family
- S + asked + O + if + S + V...
$5.$ If she spoke more clearly, I could understand her.
- If + S + V2, S + would/ could/ might.
======="
$1.$ Despite being very rich, he is not happy.
- Despite + Noun/ Noun phrase/ V-ing, S + V.
$2.$ The swimming pool which I often use is only open to public mornings.
- N... (Thing + which + S + V.
$3.$ This is the knife for cutting bread.
- S + tobe + O...
$4.$ I was so grateful that so many people have offered their help since last week.
- S + have/ has + V3.
$5.$ I’m having my camera repaired at the moment.