For plain relatinships, just change position by the property you want to parent:
parentPosition = thisComp.layer("Parent Layer Name").transform.position;
parentScale = thisComp.layer("Parent Layer Name").transform.scale;
parentOpacity = thisComp.layer("Parent Layer Name").transform.opacity;
parentScaleX =parentScale[0];
////and so on ....
For what you are looking for explicitly:
thisParent = thisComp.layer(""Parent Layer Name"");
parentPos = thisParent.transform.position;
parentScaleWidth = thisParent.transform.scale[0];
toRight = thisParent.width/2 * parentScaleWidth/100 + parentPos[0];
[toRight + value[0], value[1]]