Hi Bin,
I’d be happy to help you learn how to integrate Pixy in to your project. First thing to note is Pixy does best with colored objects, so hopefully you’re following a colored line. White or black will not do too well. The Arduino could receive the block data from Pixy and determine where on the screen the line is at. From these points, you could direct the robot to the right or left if the line starts to drift too far to one side.
This is the general idea as to how you might get started. If you have any more specific questions about using or connecting Pixy, just let me know.
Scott