if ypu informed i would have given my book

It seems like you are saying that if someone had informed you beforehand, you would have given them your book. If you would like me to explain how to express this sentence correctly, here is a breakdown:

1. "If" is a conditional word that introduces a hypothetical situation.
2. "You" is the subject of the sentence, referring to the person being addressed.
3. "Informed" is the past tense of the verb "inform," meaning to provide someone with information.
4. "I" is the subject pronoun, representing the person speaking or writing.
5. "Would have given" is a conditional past tense construction. "Would" expresses the hypothetical action, and "have given" is the past participle of the verb "give."
6. "My book" is the object of the verb "give," referring to the possession being offered.

To make the sentence grammatically correct, you can say, "If you had informed me, I would have given you my book." This sentence uses the past perfect tense to indicate that the informing was not done in the past.