Need help with the project

Posting pictures of code and error messages is generally a waste of time

Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

It looks like you can use either the basic or graph library in the sketch but not both