Determine the state diagram of a Mealy sequential machine which controls the entrance of a garage with four parking places The garage accepts both trucks and cars, but a truck occupies two parking places. The machine should generate the outputs corresponding to the combinations
1 Free entrance for both cars and trucks,
2 Free entrance for cars,
3 No free places.