Answer:
Hello your question has some missing information below is the complete question
answer :
Explanation:
Red car and Blue car take up 2 spaces each
Green cars take up 1 space
lets determine the number of ways of filling up the parking spaces
i) First lets assume the last space is filled by Green car then there will be
space occupied hence there will be ( n - 1 ) spaces left to be filled in
ways
ii) lets assume the last space is filled by either a Red car or a Blue car then there will be
parking space occupied hence there will be
( n - 2 ) spaces left to be filled in
ways
Hence A closed formula for
where : a1 = 1 way , a2 = 3 ways