De resolutione et compositione mathematica