Bonjour
Le basket-ball a été inventé par James Naismith.
This is a sentence in the passive voice
active voice = James Naismith a inventé le basket-ball
passive voice = Le basket-ball a été inventé par James Naismith
"a été inventé" is the passive voice for the 'passé composé'
you have to add the pst participle of the verb "être" = 'été' + past participle of the verb making the action
;)