solution by law的用法和样例：
- Those who disobey must be punished by law.
- I have done all that is required by law.
- This practice was sanctified by law.
- The powers of a judge are defined by law.
- The powers of the courts are defined by law.
- A gentleman's agreement is not usually enforceable by law.