We managed to climb over the wall without being seen.
We managed to climb over the wall without we were being seen.
Are these sentences exactly the same? if so is there any special name for the reduction in the first sentence? Is it present or past participle clause? I am so confused.