The number of rooms on the ground floor of a building is 12 less twice the number of room on the first floor. If the first floor has x rooms, how many rooms are there on the ground floor.