if three times a number x is diminished by 10. the difference is twice the number plus