Diary of a Wimpy Kid the third wheel by Jeff Kinney
In this book Greg and Rowley are facing Valentine’s Day dance. In the adventure of looking for love they both are doing crazy things to conquered a girl for the big dance. At the end as Rowley and Abigail are a couple so Grey is the third wheel.