Arduino library write help

Well, maybe it sounds like i want to do my work with somebody else.
But i don't know how to write a library, and also don't know how to control the I2C ports (SDA, SCL).
The reason why i need the library is that i have a MID Board Computer in my Opel Astra F, it has the feature to display the stock radio's freq, or RDS Data. If i have the lib, i will write my entire code to expand my Board Compuer's functions.

I'm sorry for the mismatch.

PS: I am an Hungarian guy, and i rarely use my english.