Help: Yamaha Keyboard with broken circuits

I've got a keyboard with a soundless key, I opened it up and I found this. Half of the circuit is erased and scratched. Please, any idea of what can I do? I've heard that applying graphite mine from a pencil works, but I'm not sure about any detail of about how can I do that

https://preview.redd.it/kyvc9jevwaee1.jpg?width=3024&format=pjpg&auto=webp&s=9218b888652fd0f82e9bac48ec19232fde95d948

https://preview.redd.it/gma9spevwaee1.jpg?width=4032&format=pjpg&auto=webp&s=f31407f47150351525fa96df25baecc78efcf19f