In a recent presidential election, Ohio had 18 electoral votes. This is 20 votes less than Texas had. How many electoral votes did Texas have?

Texas had 38 electoral votes.