I did this in 5 mins, basically take a cylinder, delete the top faces, select the top verts, rotate about 45 degrees, duplicate and rotate so the two 45 degree edges meet, combine and merge verts.