A two-body method for the bound states of a three-body system