This is a broken connector elbow for the pedal mechanism in an upright piano that was less than 5 years old. Many people do not realize that repairs such as this are almost always covered by warranty, and for at least 10 years (sometimes longer). Most manufacturers will even cover the cost of the service call for a technician to come out and replace the part.
If you own a piano that is less than 25 years old, even if you’re not the original owner, look up warranty information and know what’s covered! You might be pleasantly surprised, particularly when something breaks or goes wrong that you don’t have the cash on hand to fix. If you have any questions about repairs on your piano, warranty or not, feel free to contact me.