My question is that if the below sentences have the same meaning ?
I cleaned my tie to look nice.
I cleaned my tie that looked nice.
No:
I cleaned my tie to look nice
Means that the reason you were cleaning your tie was because you wanted it to look nice. Or that you wanted to look nice so you cleaned your tie!
I cleaned my tie that looked nice
Means that you were cleaning a tie that already looked nice.
Thanks, hope this helps!