lui= atribut pronominal genitival
lui= complement indirect
lui= articol nehotarat, fara f.s
de langa banca= atribut substantival prepozitional
langa banca= complement circumstantial de loc
cartea= complement direct
cartea= subiect
baiatului= complement indirect