Sankole had x litres of milk. He bought eight more litres of milk. He had a total of 38 litres. Find the value of x.