We have three people, with three unknown heights. Call the respective heights of Linda, Patrick, and Ali .

Since Linda's height is that of Patrick, we have

Similarly, for Linda and Ali we have

But we further know that the sum of all three heights is 418.5 cm. This gives:

You now have three equations with three unknowns. Can you solve this system?