I would usually license it under the GNU GPL v3 but because I'm unsure as to what the licensing situation is when combining a part of a program and extending it to make another.