lui=atribut pronominal genitival,G
lui=complement indirect,D
lui=complement indirect,D
de langa banca=atribut substantival prepozitional,Ac
cartea=complement direct
cartea=nume predicativ
baiatului=complement indirect,D
baiatului=atribut substantival genitival,G