I see that your example is following the documentation on https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/shapes/path?view=net-maui-9.0 - I have used the Path syntax extensively and you can see several of my StackOverflow posts based on Path. I would recommend trying these things:
Here are some of my StackOverflow posts: https://stackoverflow.com/search?q=user%3A881441+path+%5Bmaui%5D