Don't know which of these two is the correct, or best one.
Sentence:
If Marta had known that the opera was so long, she wouldn't have gone.
Se Marta avesse saputo che l'opera era così lunga, non ci sarebbe andata.
Se Marta avesse saputo che l'opera fosse così lunga, non ci sarebbe andata.