The cost basis will be the the price of the stock when it was first purchased and not the FMV. This is predicated on the fact that your wife's name is listed as a joint account holder even though her mother is the primary account holder.
Edited 01/26/22|04:24 PMPST
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"