1. Are you calling 'obj1' & 'obj2' as content objects inside the shape layer, or is it two different layers?
2. Do you want obj2 to have relatively different opacity from obj1? Meaning, if you adjust obj1, obj2 would update?
For simplicity, it would be easier if we speak actual 'opacity values' on objects. Cheers!