Stellantis interview question

Sample technical problem to work out