Are these sentences correct:
1-We had a blueprint for the machine which it was our goal to build.
2-We had a blueprint for the machine it was our goal to build.
We had a blueprint for the machine that was our goal to build.