How to construct a triangle given the perimeter and the ratio of sides

Draw line AB=100mm the perimeter Divide line AB into the ratio of 4:3:5 At point C and using radius CB draw an arc that intersects with the arc whose radius is DA At point of intersection E, join C to E and D to E ECD is the required triangle