Thanks @Cassie
i need to test this solution. but luckily i figured out an other solution. i have to place birds and motion path at the origin while designing. Now if I export them and use them, they work fine, i have to use transform: translate to position the birds correctly.
the most important thing is the the object which will move on the path must be at the origin when exported from a design tool like Figma or Adobe xd.
i appreciate your effort and will let you know my status on your code suggestion.