Thanks for the quick feedback, but I get similar outcomes as with the previous expression I found. Offset to the left or right, depends on which name is longer. Just curious if you are aware for a fix for this? Thanks again!

var w1= thisComp.layer(1).sourceRectAtTime().width;
var w2 = thisComp.layer(2).sourceRectAtTime().width;
[thisComp.width/2 -( w2-w1)/2,value[1]]