The terms of the trust are the duties and powers of the trustee and the rights of the beneficiary conferred by the settlor when he created the trust. State statutes and court decisions govern the law of trusts. The validity of a trust of real property is determined by the law of the state where the property is located.