If you have precise measurements you could easily make 45 degree cuts at Home Depot (they will provide saws and tools necessary to make the angled cut).
Have the store cut it for you - I think you get up to 2 cuts for free.