✨ ベストアンサー ✨
(3)
He is(現在形) ashamed that he [failed](過去形) the driving test.
→ He is ashamed of [having failed](動名詞・完了形) the driving test. ※be ashamed of ~ing ~することを恥じている
彼は運転免許の試験に落ちたことを恥ずかしく思っている。
(4)
She regrets(現在形) that she wasted(過去形) her time. ※regret ~ing ~したことを後悔する
→ She regret wasting(動名詞) her time.
彼女は時間を無駄にしたことを後悔している。
参考にしてください。