1. The problem statement, all variables and given/known data As part of a test I was given an irregular shape to find its centroid. It was a rectangle with a right angled triangle on its right side (I don't have a picture to upload for ye unfortunately). 2. Relevant equations dA=y.dx X(bar)=intrecal x.y.dx Y(bar)=intrecal y^2/2.dy 3. The attempt at a solution I worked out the area and centroid of the rectangle and triangle separately but didn't know how to find the overall centroid. How would you do this?