Try the following instead
create table reservation(
customer_id int not null references customer(customer_id)
,trip_id int not null references trip(trip_id)
,seat_nb int not null
);
alter table reservation add primary key(customer_id,trip_id)
;
I had this work on Oracle. Should be same on SQLServer. :)