When I was young, my grandfather gave me this book.
My grandfather was given this book when I was young.
When I was young, I was gave this book by my grandfather.
When I had been young, my grandfather gave this book to me.
When I was young, I was given this book by my grandfather.