would you visit me if I were sent to prison ?
=> Were you to visit me if I were sent to prison ?
I didn't see the signal,so I didn't stop
=> Had I seen the signal, I would have stopped
if I were rich,I could afford to buy an expensive car
=> Were I you, I could afford to buy an expensive car
if I were you,I would tell him the truth
=> Were I you, I would tell him the truth