You need to take your total amount of shares, divide it by X, but then add Y ... Now take the Square Root of that and multiply it by 100. Once you have this number, double it, then cut it in half and you should have your avg price.
X= ~5 Y= ~25
The Above Message Likely Contains Coarse Language and, Due to its Content, Should Not Be Viewed By Anyone.