The measure of angle X is 18 more than three times the measure of its complement. Find the measure of angle X.