October 30, at approximately 8:00 AM MDT. While I was heading to work, I was approaching an intersection with a vehicle in front of me making a left turn in the opposite direction was a vehicle also preparing to make a left turn and as I approached the intersection the vehicle turned in front of me. I fully applied the brakes, and the pedal went to the floor, my truck did not stop or slow down. I ended up striking the vehicle turning in front of me, fortunately at a low speed of approximately 11-12 miles per hour. My vehicle coasted to a stop after which I was able to carefully pull off to the side of the road. My truck was deemed drivable at the time after the accident but I noticed that the pedal is spongy and it took pumping the brakes to get them to apply. I almost had another accident around 10:30 AM, when coming to a stop behind several other vehicles. Again I applied the brakes and they went to the floor. The truck very slowly came to a stop, finally stopping 5 feet from the rear of the car in front of me. This was extremely nerve racking because I thought I was about to have another accident. After talking with my insurance company, they deemed the truck unsafe to drive and had it towed to the repair shop. Additionally, back during a trip to California from September 28 to October 15. We were towing our 2024 East to West Alta Travel Trailer. During the trip I noticed very sporadically the trailer brakes would apply to much or more often appear to not apply the trail